import { is_object } from '@dataui/crud-util';
import { FindOperatorReq } from './';

export function isFindOperatorReq(val: unknown): val is FindOperatorReq<unknown> {
  if (is_object(val) && (val as FindOperatorReq<unknown>).__FO) return true;
  return false;
}
